package com.zhaokuner.pm.model.enumeration;

/**
 * 是否 1是  0否
 *
 * @author zhaoxikun
 */
public enum YesOrNoEnum implements SuperEnum {
    /**
     * 0 否
     */
    NO(0, "否"),
    /**
     * 1 是
     */
    YES(1, "是");


    private final int code;
    private final String msg;

    YesOrNoEnum(int value, String msg) {
        this.code = value;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
